package com.diors.commons.network.module;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 控制器方法注解
 * @author	darren.ouyang
 * @data	2013-9-11
 */
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface MethodAnnotation 
{
	
	/**
	 * key的默认值
	 */
	public final static int DEFAULT_VALUE = 0;
	
	/**
	 * 方法的key
	 * @return	
	 */
	public int key() default DEFAULT_VALUE;

}
